package controlador;

import java.awt.Desktop;
import java.io.File;
import java.io.IOException;


public class ImprimeNotaFiscal {
	public void imprime(){
		try {
		      Desktop desktop = null;
		      if (Desktop.isDesktopSupported()) {
		        desktop = Desktop.getDesktop();
		      }

		       desktop.print(new File("NotaFiscal.txt"));
		    } catch (IOException ioe) {
		      ioe.printStackTrace();
		    }
	}
}
